package com.steak.business.client;

import com.steak.common.domain.dataobject.tcc.Stock;
import com.steak.common.result.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 刘牌
 * @Title:
 * @date 2022/3/116:25
 */
@FeignClient(value = "cloud-stock")
public interface StockClient {

    @RequestMapping("/stock/decreaseStock")
    Response decreaseStock(Stock stock);
}
